package com.cloud.sso.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class OrgSaveDto {

    private String id;

    @NotNull(message = "组织名称不能为空")
    private String orgName;

    @NotNull(message = "上级组织不能为空")
    private String parentId;

    private String leaf = "0";

    private Integer root = 0;

}
